﻿<%@ WebHandler Language="C#" Class="getscrolldata" %>

using System;
using System.Web;

public class getscrolldata : IHttpHandler
{

    public void ProcessRequest(HttpContext context)
    {        
        string bid=context.Request.QueryString["bid"];
        System.Data.DataSet ds=BLL.DataBaseHelper.instance.GetList("Articles", "id,title,fulltitle,picurl", 0, "bid=" + bid, "");
        context.Response.Write(Common.JSONHelper.DataTableToJson("goods", ds.Tables[0]));    
    }

    public bool IsReusable
    {
        get
        {
            return false;
        }
    }

}